x11: Don't set ParentRealtive if the parent's visual is different
authorBenjamin Otte <otte@redhat.com>
Wed, 29 Sep 2010 10:06:19 +0000 (12:06 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 29 Sep 2010 10:18:17 +0000 (12:18 +0200)
commit82e6e32c770ac42187dc8a58ebf9ac99b35dfdd4
tree6b49cb20cb1642349ebe164539580f01b6eca79c
parent72d48cbc6161fb9d14e506c7137acf2235577940
x11: Don't set ParentRealtive if the parent's visual is different

Causes a BadMatch otherwise, see code comments.

https://bugzilla.gnome.org/show_bug.cgi?id=630864
gdk/x11/gdkwindow-x11.c